Ongoing heavy rainfall in the northern beaches has led to most beaches being closed due to pollution.